@echo off

set ROOTDIR=%~dp0
echo *******************************
echo READY TO INSTRUMENT SAMPLE APP
echo *******************************
echo HIT ENTER TO CONTINUE

PAUSE
@echo on 



copy lib\SampleApp\config.xml C:\inetpub\wwwroot\ProfilingApp\bin\config.xml

copy lib\Instrumentation\DishDash.Common.dll C:\inetpub\wwwroot\ProfilingApp\bin\DishDash.Common.dll

copy lib\Instrumentation\InstrumentAspect.dll C:\inetpub\wwwroot\ProfilingApp\bin\InstrumentAspect.dll

copy lib\Instrumentation\InstrumentationLibrary.dll C:\inetpub\wwwroot\ProfilingApp\bin\InstrumentationLibrary.dll

copy lib\Instrumentation\InstrumentationWrapper.dll C:\inetpub\wwwroot\ProfilingApp\bin\InstrumentationWrapper.dll

copy lib\Instrumentation\MessageAPI.Core.dll C:\inetpub\wwwroot\ProfilingApp\bin\MessageAPI.Core.dll

copy lib\Instrumentation\MessageAPI.dll C:\inetpub\wwwroot\ProfilingApp\bin\MessageAPI.dll

copy lib\Instrumentation\MessageAPICore.Implementation.dll C:\inetpub\wwwroot\ProfilingApp\bin\MessageAPICore.Implementation.dll

copy lib\Instrumentation\Mono.Cecil.dll C:\inetpub\wwwroot\ProfilingApp\bin\Mono.Cecil.dll

copy "lib\rabbitmq client\RabbitMQ.Client.dll" C:\inetpub\wwwroot\ProfilingApp\bin\RabbitMQ.Client.dll

copy lib\Instrumentation\RabbitMQIntegration.dll C:\inetpub\wwwroot\ProfilingApp\bin\RabbitMQIntegration.dll

cd C:\inetpub\wwwroot\ProfilingApp\bin

call InstrumentationConsoleApp.exe

cd %ROOTDIR%















